<template>
    <view class="purchase-item purchase-item-wait" @click="goDetail">
        <text class="purchase-name">供应商：{{ item.BuyModel.SupplierName ? item.BuyModel.SupplierName : "" }}</text>
        <text class="purchase-sn">订单号：{{ item.BuyModel.OrderNo }}</text>
        <text class="purchase-time">出库时间：{{ item.OutModel.StockOutTime }}</text>
        <view>
            <text class="purchase-type">待入库：</text>
            <text class="purchase-num">{{ item.OutModel.AllAmount }}</text>
        </view>
    </view>
</template>

<script>
export default {
    components: {},
    props: {
        item: {
            type: Object,
            default: () => {},
        },
    },
    data() {
        return {}
    },
    mounted() {},
    onShow() {},
    methods: {
        goDetail() {
            this.easyGoTo("/pages_work/packet/purchase/wait-detail?code=" + this.item.OutModel.StockOutSn)
        },
    },
}
</script>

<style lang="scss"></style>
